Optimal. Leaf size=76 \[ \frac {1}{2} a x \sqrt {a^2-b^2 x^2}+\frac {\left (a^2-b^2 x^2\right )^{3/2}}{3 b}+\frac {a^3 \tan ^{-1}\left (\frac {b x}{\sqrt {a^2-b^2 x^2}}\right )}{2 b} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 76, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {665, 195, 217, 203} \begin {gather*} \frac {1}{2} a x \sqrt {a^2-b^2 x^2}+\frac {\left (a^2-b^2 x^2\right )^{3/2}}{3 b}+\frac {a^3 \tan ^{-1}\left (\frac {b x}{\sqrt {a^2-b^2 x^2}}\right )}{2 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 195
Rule 203
Rule 217
Rule 665
Rubi steps
\begin {align*} \int \frac {\left (a^2-b^2 x^2\right )^{3/2}}{a+b x} \, dx &=\frac {\left (a^2-b^2 x^2\right )^{3/2}}{3 b}+a \int \sqrt {a^2-b^2 x^2} \, dx\\ &=\frac {1}{2} a x \sqrt {a^2-b^2 x^2}+\frac {\left (a^2-b^2 x^2\right )^{3/2}}{3 b}+\frac {1}{2} a^3 \int \frac {1}{\sqrt {a^2-b^2 x^2}} \, dx\\ &=\frac {1}{2} a x \sqrt {a^2-b^2 x^2}+\frac {\left (a^2-b^2 x^2\right )^{3/2}}{3 b}+\frac {1}{2} a^3 \operatorname {Subst}\left (\int \frac {1}{1+b^2 x^2} \, dx,x,\frac {x}{\sqrt {a^2-b^2 x^2}}\right )\\ &=\frac {1}{2} a x \sqrt {a^2-b^2 x^2}+\frac {\left (a^2-b^2 x^2\right )^{3/2}}{3 b}+\frac {a^3 \tan ^{-1}\left (\frac {b x}{\sqrt {a^2-b^2 x^2}}\right )}{2 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.08, size = 90, normalized size = 1.18 \begin {gather*} \frac {\sqrt {a^2-b^2 x^2} \left (\left (2 a^2+3 a b x-2 b^2 x^2\right ) \sqrt {1-\frac {b^2 x^2}{a^2}}+3 a^2 \sin ^{-1}\left (\frac {b x}{a}\right )\right )}{6 b \sqrt {1-\frac {b^2 x^2}{a^2}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.26, size = 92, normalized size = 1.21 \begin {gather*} \frac {\left (2 a^2+3 a b x-2 b^2 x^2\right ) \sqrt {a^2-b^2 x^2}}{6 b}+\frac {a^3 \sqrt {-b^2} \log \left (\sqrt {a^2-b^2 x^2}-\sqrt {-b^2} x\right )}{2 b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 72, normalized size = 0.95 \begin {gather*} -\frac {6 \, a^{3} \arctan \left (-\frac {a - \sqrt {-b^{2} x^{2} + a^{2}}}{b x}\right ) + {\left (2 \, b^{2} x^{2} - 3 \, a b x - 2 \, a^{2}\right )} \sqrt {-b^{2} x^{2} + a^{2}}}{6 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 56, normalized size = 0.74 \begin {gather*} \frac {a^{3} \arcsin \left (\frac {b x}{a}\right ) \mathrm {sgn}\relax (a) \mathrm {sgn}\relax (b)}{2 \, {\left | b \right |}} - \frac {1}{6} \, \sqrt {-b^{2} x^{2} + a^{2}} {\left ({\left (2 \, b x - 3 \, a\right )} x - \frac {2 \, a^{2}}{b}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 113, normalized size = 1.49 \begin {gather*} \frac {a^{3} \arctan \left (\frac {\sqrt {b^{2}}\, x}{\sqrt {2 \left (x +\frac {a}{b}\right ) a b -\left (x +\frac {a}{b}\right )^{2} b^{2}}}\right )}{2 \sqrt {b^{2}}}+\frac {\sqrt {2 \left (x +\frac {a}{b}\right ) a b -\left (x +\frac {a}{b}\right )^{2} b^{2}}\, a x}{2}+\frac {\left (2 \left (x +\frac {a}{b}\right ) a b -\left (x +\frac {a}{b}\right )^{2} b^{2}\right )^{\frac {3}{2}}}{3 b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 3.00, size = 88, normalized size = 1.16 \begin {gather*} -\frac {i \, a^{3} \arcsin \left (\frac {b x}{a} + 2\right )}{2 \, b} + \frac {1}{2} \, \sqrt {b^{2} x^{2} + 4 \, a b x + 3 \, a^{2}} a x + \frac {\sqrt {b^{2} x^{2} + 4 \, a b x + 3 \, a^{2}} a^{2}}{b} + \frac {{\left (-b^{2} x^{2} + a^{2}\right )}^{\frac {3}{2}}}{3 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a^2-b^2\,x^2\right )}^{3/2}}{a+b\,x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 4.41, size = 144, normalized size = 1.89 \begin {gather*} a \left (\begin {cases} - \frac {i a^{2} \operatorname {acosh}{\left (\frac {b x}{a} \right )}}{2 b} - \frac {i a x}{2 \sqrt {-1 + \frac {b^{2} x^{2}}{a^{2}}}} + \frac {i b^{2} x^{3}}{2 a \sqrt {-1 + \frac {b^{2} x^{2}}{a^{2}}}} & \text {for}\: \left |{\frac {b^{2} x^{2}}{a^{2}}}\right | > 1 \\\frac {a^{2} \operatorname {asin}{\left (\frac {b x}{a} \right )}}{2 b} + \frac {a x \sqrt {1 - \frac {b^{2} x^{2}}{a^{2}}}}{2} & \text {otherwise} \end {cases}\right ) - b \left (\begin {cases} \frac {x^{2} \sqrt {a^{2}}}{2} & \text {for}\: b^{2} = 0 \\- \frac {\left (a^{2} - b^{2} x^{2}\right )^{\frac {3}{2}}}{3 b^{2}} & \text {otherwise} \end {cases}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________